package com.mingqijia.gassafety.webserver.service;

import com.mingqijia.gassafety.db.entity.HistoryAlarm;
import com.mingqijia.gassafety.db.entity.HistoryBroken;
import com.mingqijia.gassafety.webserver.dto.OrderCancelDTO;

public interface WorkOrderHandleService {
    /**
     * 取消工单
     * @param dto
     */
    void cancelOrder(OrderCancelDTO dto);

    /**
     * 取消工单-报警
     * @param historyAlarm
     */
    void cancelOrder(HistoryAlarm historyAlarm);

    /**
     * 取消工单-故障
     * @param historyBroken
     */
    void cancelOrder(HistoryBroken historyBroken);

}
